home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga CD-ROM Collection
/
Amiga CD-ROM Collection - Auge 4000 and Cactus and Demo Util.iso
/
auge4000
/
46
/
examples
/
count.c
< prev
next >
Wrap
C/C++ Source or Header
|
1990-06-20
|
217b
|
22 lines
/*
* COUNT.C
*/
#include <stdio.h>
main(ac, av)
char *av[];
{
long i;
if (ac == 1) {
puts("count <startvalue>");
exit(1);
}
for (i = atoi(av[1]); i; --i)
printf("%d\n", i);
return(0);
}